Add a SOAP Web Service Data Source

  • To access SOAP-based web services, you will need to download MSXML v4.0 from Microsoft's web site and install it on the machine running App Server.

To add a SOAP web service data source:

Choose New Data Source from the Project group of the Ribbon's Home tab. This will display a sub-menu of the different data source types.

Choose Standard Web Service.

 

The New Web Service dialog box will be displayed.

Enter a name for this Data Source in the Name field. This name is used to reference the Data Source within your Project.

Choose SOAP in the Service Type field. The remaining options will change according to your choice here.

Enter the path and file name of a WSDL file to describe this web service or click on the browse button, Picture showing the Browse button., to browse for the file.

Enter a Username and Password, if required to allow App Server to impersonate a specific Windows user when using this web service. Note the password will be displayed as asterisks.

Click on the OK button.

Your web Service will now be listed in the Data Sources Pane – click on the Data Sources tab to display this pane if it isn't already in view.

A new window will also appear in the Workspace, showing a schema for this web service, looking something like this:

Picture illustrating a Workspace window showing a web service schema.

The schema diagram provides a view of the web service's WSDL, showing the operations defined in the WSDL and the data items for each. Double-click on an operation's name or click on the down arrow to the right of the name to display more information about the data items. Double-click on the operation's name again or click the up arrow to hide this additional information.

You now need to select those operations which you want to use within your Project. To include an operation, select the check box to the left of the operation's name. To remove it from the Project, deselect the check box.

When you select an operation in the schema diagram it will automatically appear in the Data Sources Pane as a branch below the Data Source's name. Click on the Data Sources tab if the Data Sources Pane isn't already in view.

Below the operation name, sub-branches show the data items defined for the operation and below these are the xml elements which make up the data items. You can map data items or individual elements to Controls.

Clicking on a node in the tree view in the Data Sources Pane will display the Properties for that node in the Properties Pane. Editable Properties are displayed in black, non-editable in grey.

The following table lists some of the main Properties available for the different nodes:

 

  • The Properties for a SOAP Web Service Data Source include the URL Property. If you later want to change the URL for a SOAP Web Service, you can do it independently of the WSDL by changing this Property.